package com.blog.controller.manage;

import com.blog.constant.RoleConstant;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/indexManage")
public class IndexManageController {

    @RequestMapping("/index")
    @RequiresRoles(RoleConstant.ROLE_ADMIN_ARTICLE)
    public String index() {
        return "manage-index";
    }
}
